namespace Exerciese.Model.model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class T_User
    {
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
        public T_User()
        {
            T_Information = new HashSet<T_Information>();
            T_Project = new HashSet<T_Project>();
            T_Project_Review = new HashSet<T_Project_Review>();
            T_Project_Support = new HashSet<T_Project_Support>();
        }

        public int ID { get; set; }

        [StringLength(20)]
        public string Name { get; set; }

        [StringLength(60)]
        public string Account_Number { get; set; }

        [StringLength(60)]
        public string Head_ProTraIT { get; set; }

        public decimal? Money { get; set; }

        [StringLength(50)]
        public string User_Name { get; set; }

        [StringLength(70)]
        public string ID_number { get; set; }

        [StringLength(5)]
        public string Sex { get; set; }

        [StringLength(60)]
        public string City { get; set; }

        [StringLength(100)]
        public string InTro { get; set; }

        public int? Love { get; set; }

        [StringLength(50)]
        public string MiMa { get; set; }

        public int User_modeID { get; set; }

        [StringLength(70)]
        public string Phone { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<T_Information> T_Information { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<T_Project> T_Project { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<T_Project_Review> T_Project_Review { get; set; }

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public virtual ICollection<T_Project_Support> T_Project_Support { get; set; }

        public virtual T_User_MoDe T_User_MoDe { get; set; }
    }
}
